<template>
	<view class="my-store-info">
		<view class="store-form">
			<u-cell-group :border="false">
				<u-cell title="编辑门店" arrow-direction="right" :isLink="true" @click="openType" :border="true">
					
				</u-cell>
				<u-cell title="终端设置" arrow-direction="right" :isLink="true" @click="openTypeTwo" :border="false">
					
				</u-cell>
			
				
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	const app = getApp();
	const globalData = app.globalData;
	const apiUrl = globalData.wxApi;
	const wxImg = globalData.wxImg;
	import {
		getStoreData,
		dealNum,
		httpPost,
		bdMapToTxMap,
		txMapToBdMap,
	} from "@/utils/http.js";
	import mpMixin from "@/uni_modules/uview-ui/libs/mixin/mpMixin";
	const pic1 = require(`@/img/my/my1.png`);



	export default {
		data() {
			return {
				wxImg,
				apiUrl,
				dealNum,
				pic1,
				value: "",
				userInfo: {},
				indexList:[],
				storeId:""
				
			};
		},
		
		onShow() {

		},
		onUnload() {

		},
		onLoad(options) {
           this.storeId=options.id;
		},
		methods: {
			openType(){
				uni.navigateTo({
					url: '/pages/storeManage/creat-store'
				});
			},
		    openTypeTwo(){
				uni.navigateTo({
					url: '/pages/storeManage/terminalSet?storeId='+this.storeId
				});
			}


		},
	};
</script>

<style lang="scss">
	.my-store-info {
		background-color: #f4f5f7;
		padding-top: 20rpx;
		height: calc(100vh - 90rpx);
	}

	.store-form{
		background-color: #fff;
		padding-left: 30rpx;
		padding-right: 30rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
		border-radius: 10rpx;
	}
</style>